package com.wuye.basic.domain;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.wuye.common.annotation.Excel;
import com.wuye.common.core.domain.BaseEntity;

import java.io.Serializable;

/**
 * 单元对象 wy_unit
 * 
 * @author avalon
 * @date 2024-11-25
 */
@TableName("wy_unit")
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class WyUnit implements Serializable
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    @Excel(name = "主键id")
    @TableId(value = "unitId", type = IdType.AUTO)
    private Long unitId;

    /** 单元名 */
    @Excel(name = "单元名")
    @TableField("unitName")
    private String unitName;

    /** 单元层数 */
    @Excel(name = "单元层数")
    @TableField("unitLayserNumber")
    private Long unitLayserNumber;

    /** 逻辑删除 */
    @TableLogic
    private Long del;
}
